package chapter20.homework1;

public abstract class Country {
    protected UnitedNation unitedNation;

    public void setUnitedNation(UnitedNation unitedNation) {
        this.unitedNation = unitedNation;
    }

    //声明消息
    public void sendMessage(String message) {
        unitedNation.sendMessage(message, this);
    }

    public abstract void getMessage(String message);

}
